#include <iostream>

void hello_from_cpu(int n) {
    for (int i = 0; i < n; ++i) {
        std::cout << "Hello from CPU thread " << i << std::endl;
    }
}